package com.shiliao.app.activity.interlocution.service.impl;

import com.shiliao.app.activity.interlocution.entity.InterlocutionEntity;
import com.shiliao.app.activity.interlocution.service.InterLocutionService;
import com.shiliao.app.manager.NetworkManager;
import com.yimei.framework.mvp.service.impl.BaseServiceImpl;
import com.yimei.framework.network.ICallBack;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by yinzhiqiang on 2017/9/12.
 */

public class InterLocutionImpl extends BaseServiceImpl<InterlocutionEntity> implements InterLocutionService {

    @Override
    public void request(String url, HashMap map, ICallBack mCallBack) {
        NetworkManager.loadRequsetByRaw(url, map, mCallBack);
    }

    @Override
    public void requestSumbitNewQuestion(String url, Map map, ICallBack mCallBack) {
        NetworkManager.loadRequsetByRaw(url, map, mCallBack);
    }
}
